﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mrp16062010.Arayuz
{
    class ComboBoxItem
    {
        public string name;
        public object deger;
        public ComboBoxItem(string Name, object Value)
        {
            this.name = Name;
            this.deger = Value;
        }

        // override ToString() function
        public override string ToString()
        {
            return this.name;
        }

        public string Display
        {
            set { name = value; }
            get { return name; }
        }

        public object Value
        {
            set { deger = value; }
            get { return deger; }
        }
    }
}
